//! \file DataTypes.h
//! \brief TODO: Document
// -----------------------------------------------------------------------------
//! This program is free software; you can redistribute it and/or
//! modify it under the terms of the GNU General Public License
//! as published by the Free Software Foundation; either version 2
//! of the License, or (at your option) any later version.
//!
//! This program is distributed in the hope that it will be useful,
//! but WITHOUT ANY WARRANTY; without even the implied warranty of
//! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//! GNU General Public License for more details.
//!
//! You should have received a copy of the GNU General Public License
//! along with this program; if not, write to the Free Software Foundation,
//! Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// -----------------------------------------------------------------------------
#ifndef dDATA_TYPES_H_
#define dDATA_TYPES_H_

#include <stddef.h>

//#ifdef __cplusplus
//  extern "C" {
//#endif

namespace std {

// ===========================================================================
//! \typedef tERROR
//! \brief TODO: document
// ---------------------------------------------------------------------------
typedef unsigned short int tERROR;

// TODO: document
static const tERROR ERR_NONE = 0;

// =============================================================================
//! \enum eBoolean
//! \brief Boolean TODO: comment
// -----------------------------------------------------------------------------
typedef enum
{
  eFALSE = 0, //!< TODO: comment
  eTRUE = 1   //!< TODO: comment
} eBoolean;

// =============================================================================
//! \def dNULL
//! \brief TODO: document  REMOVE
// -----------------------------------------------------------------------------
#define dNULL 0

// TODO: document
//#define dINLINE         inline
#define dINLINE

// TODO: document
#define dFORCE_INLINE   __force_inline


// TODO: documenation and such...

typedef signed char tBYTE;
typedef unsigned char tUBYTE;

typedef signed short tWORD;
typedef unsigned short tUWORD;

typedef signed long tLONG;
typedef unsigned long tULONG;

} // namespace std

//#ifdef __cplusplus
//  }
//#endif

#endif // dDATA_TYPES_H_
